package com.canaan.business.common.enums.inOutStock;
/**
 * @Description 出库单状态
 * @author canaan
 * @date 2023/6/21 10:39:07
 * @version: 1.0
 */
public enum OutOrderStatusEnum {
    NEW(1, "新建"),
    PICKING(2, "拣货中"),
    ACCOMPLISH(3, "完成"),
    CANCEL(4, "已取消"),
    CANCEL_PENDING_CONFIRMATION(5, "取消待确认"),
    DISTRIBUTE(6, "分配中"),
    WAITING_PICK(7, "待拣货"),
    PICKING_FINSH(8,"已拣货"),
    TO_BE_INSPECTED(9,"待质检"),
    YARD(10,"码货中"),
    NG(11,"质检不通过"),
    ;

    private final Integer code;
    private final String message;

    OutOrderStatusEnum(Integer code, String info)
    {
        this.code = code;
        this.message = info;
    }

    public Integer getCode() {
        return code;
    }

    public String getMessage() {
        return message;
    }
}
